package com.springcloud.gateway.service;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSONObject;

/**
 * 定义某个接口的HiHystrix 异常
 * @author Administrator
 *
 */
@Component
public class SchedualServiceHiHystrix implements FeignService {

	@Override
	public JSONObject login(String name, String pwd) {
		JSONObject json = new JSONObject();
		json.put("msg", "login接口异常");
		return json;
	}

	@Override
	public JSONObject verification(String token, String type) {
		JSONObject json = new JSONObject();
		json.put("msg", "validToken接口异常");
		return json;
	}


	

}
